##
## $Id: Makefile.am,v 1.22 2006/07/11 04:41:36 ralf Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = itrontask04.exe
itrontask04_exe_SOURCES = init.c task1.c task2.c task3.c system.h

dist_rtems_tests_DATA = itrontask04.scn
dist_rtems_tests_DATA += itrontask04.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

itrontask04_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

AM_CPPFLAGS += -I$(top_srcdir)/../support/include

LINK_OBJS = $(itrontask04_exe_OBJECTS) $(itrontask04_exe_LDADD)
LINK_LIBS = $(itrontask04_exe_LDLIBS)

itrontask04.exe$(EXEEXT): $(itrontask04_exe_OBJECTS) $(itrontask04_exe_DEPENDENCIES)
	@rm -f itrontask04.exe$(EXEEXT)
	$(make-exe)

include $(top_srcdir)/../automake/local.am
